package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.entity.DamageListGoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassName: damageDao
 * Package: com.atguigu.jxc.dao
 *
 * @Description:
 * @Author: xvyy
 * @Create: 2025/2/21 - 21:58
 * @Version: v1.0
 */
public interface DamageDao {
    void saveDamageList(@Param("damageList") DamageList damageList);

    void saveDamageListGoods(@Param("damageListGoods") DamageListGoods damageListGoods);

    Integer countDamageList();

    List<DamageList> list(@Param("sTime") String sTime, @Param("eTime") String eTime);

    List<DamageListGoods> goodsList(@Param("damageListId") Integer damageListId);
}
